<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html dir="ltr" lang="en-gb">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta http-equiv="imagetoolbar" content="no">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<title>注册</title>
		<link type="text/css" rel="Stylesheet" href="/PCT/StyleAll/styleLogIn.css" />
		<link type="text/css" rel="Stylesheet" href="/PCT/StyleAll/styleAll.css" />
		<style type="text/css">
		.STYLE1 {font-size: 36px}
		</style>
	</head>

	<body class="browser-webkit can-transform has-shadows transform">
		<div class="header">
		<a> <img src="/PCT/image/Logo Small.png" width=1000px height=50px
			alt="Logo Small">
		</a>
		</div>
		<p>&nbsp;</p>
		<div class="page">
		
			<div id="page-body">
				<a href="<s:url action='redirectResult' namespace='/public'>
					<s:param name='redirectType' value='3' />
				</s:url>" class="button2">游客登录</a>
				<div>
					<div class="panel">
						<div class="inner">
							<span class="corners-top"><span></span></span>
							<h2>病友互助社区  - 注册</h2>
							<fieldset class="fields2">
								<s:form action="register" namespace="/public">
									<s:textfield name="username" label="账号" size="25" cssClass="inputbox autowidth" />
									<s:textfield name="email" label="Email" size="25" cssClass="inputbox autowidth" />
									<s:password name="password" label="密码" size="25" cssClass="inputbox autowidth" />
									<s:password name="passwordCon" label="确认密码" size="25" cssClass="inputbox autowidth" />
									<s:textfield name="question" label="密保问题"  size="25" cssClass="inputbox autowidth" />
									<s:textfield name="answer" label="密保答案"  size="25" cssClass="inputbox autowidth" />
									<s:select label="请选择账户类型"
											  name="userType"
											  list="#{'1':'病友', '2':'医生', '3':'管理员'}"
									/>
									<s:submit value=" 提交 " cssClass="button1 default-submit-action"/>
								</s:form>
							</fieldset>
							<span class="corners-bottom"><span></span></span>
						</div>
					</div>
			
	
				</div>
			</div>
		</div>
		<div class="footer">
			<div class="copyright">
				<p class="copy-left">上海交通大学 软件学院</p>
				<p class="copy-right">设计风格
				<a href=" http://www.artodia.com/">Artodia</a>
				。</p>
			</div>
		</div>
	</body>

</html>